package haemers.reflection.data.vo 
{
	import flash.utils.Dictionary;
	/**
	 * ...
	 * @author Jonathan
	 */
	[Serialize(name="test_type")]
	public class TypeVO 
	{
		public var key:String;
		
		private var _id:uint;
		private var _list:Dictionary;
		
		private var _name:String;
		
		public function TypeVO() 
		{
		}
		
		/** Public methods **/
		[Serialize(params="name,collection")]
		public function addCollection(name:String, collection:Vector.<TypeVO>):void
		{
			_list[name] = collection;
		}
		
		/** Getters & Setters **/
		public function get id() : uint
		{
			return _id;
		}
		public function set id(value:uint) : void 
		{
			_id = value;
		}
		
		[Serialize(name="firstName")]
		public function get name() : String
		{
			return _name;
		}
		public function set name(value:String) : void 
		{
			_name = value;
		}
		/** Protected methods **/
		
		/** Private methods **/
	}

}